Commerce Stream Practicals

Std 12th IT Subject - Skill Oriented Practical (Commerce Stream)

SOP 2: Database using LibreOffice Base

Create table employee with fields names - empid, empname, empdept, empqual, empjoindate, empsal etc. Insert minimum 8 records and solve:

  1. Where employee qualification is "MBA".
  2. Where employee department is "Accounts".
  3. Where employee salary > 70000.
  4. Where employee name is "Mr. Suhas Kale".

Solution

i) Steps for creating a database

ii) Steps for creating a table

Table Design View

iii) Steps for inserting records in a table

Insert Records in Table

iv) Steps for creating query

  1. Click on Queries object and in right pane click on Create Query in Design View option.
  2. From ADD table window select table and click on ADD button and click on Close.
  3. Select all the fields one by one by clicking on the field's columns and solve the following queries.
LibreOffice Query Creation

a) To display records where employee qualification is "MBA"

LibreOffice Query Resut

b) To display records where employee department is "ACCOUNTS"

LibreOffice Query Resut

c) To display records where employee salary > 70000

LibreOffice Query Resut

d) To display records where employee name is "Mr. Suhas Kale"

LibreOffice Query Resut

Notes